package com.huarun.module.toilet.bean;

import java.util.ArrayList;
import java.util.List;

public class ToiletPitExample
{
  protected String orderByClause;
  protected boolean distinct;
  protected List<Criteria> oredCriteria;

  public ToiletPitExample()
  {
    this.oredCriteria = new ArrayList();
  }

  public void setOrderByClause(String orderByClause) {
    this.orderByClause = orderByClause;
  }

  public String getOrderByClause() {
    return this.orderByClause;
  }

  public void setDistinct(boolean distinct) {
    this.distinct = distinct;
  }

  public boolean isDistinct() {
    return this.distinct;
  }

  public List<Criteria> getOredCriteria() {
    return this.oredCriteria;
  }

  public void or(Criteria criteria) {
    this.oredCriteria.add(criteria);
  }

  public Criteria or() {
    Criteria criteria = createCriteriaInternal();
    this.oredCriteria.add(criteria);
    return criteria;
  }

  public Criteria createCriteria() {
    Criteria criteria = createCriteriaInternal();
    if (this.oredCriteria.size() == 0) {
      this.oredCriteria.add(criteria);
    }
    return criteria;
  }

  protected Criteria createCriteriaInternal() {
    Criteria criteria = new Criteria();
    return criteria;
  }

  public void clear() {
    this.oredCriteria.clear();
    this.orderByClause = null;
    this.distinct = false;
  }

  public static class Criterion
  {
    private String condition;
    private Object value;
    private Object secondValue;
    private boolean noValue;
    private boolean singleValue;
    private boolean betweenValue;
    private boolean listValue;
    private String typeHandler;

    public String getCondition()
    {
      return this.condition;
    }

    public Object getValue() {
      return this.value;
    }

    public Object getSecondValue() {
      return this.secondValue;
    }

    public boolean isNoValue() {
      return this.noValue;
    }

    public boolean isSingleValue() {
      return this.singleValue;
    }

    public boolean isBetweenValue() {
      return this.betweenValue;
    }

    public boolean isListValue() {
      return this.listValue;
    }

    public String getTypeHandler() {
      return this.typeHandler;
    }

    protected Criterion(String condition)
    {
      this.condition = condition;
      this.typeHandler = null;
      this.noValue = true;
    }

    protected Criterion(String condition, Object value, String typeHandler)
    {
      this.condition = condition;
      this.value = value;
      this.typeHandler = typeHandler;
      if ((value instanceof List))
        this.listValue = true;
      else
        this.singleValue = true;
    }

    protected Criterion(String condition, Object value)
    {
      this(condition, value, null);
    }

    protected Criterion(String condition, Object value, Object secondValue, String typeHandler)
    {
      this.condition = condition;
      this.value = value;
      this.secondValue = secondValue;
      this.typeHandler = typeHandler;
      this.betweenValue = true;
    }

    protected Criterion(String condition, Object value, Object secondValue) {
      this(condition, value, secondValue, null);
    }
  }

  public static class Criteria extends ToiletPitExample.GeneratedCriteria
  {
  }

  protected static abstract class GeneratedCriteria
  {
    protected List<ToiletPitExample.Criterion> criteria;

    protected GeneratedCriteria()
    {
      this.criteria = new ArrayList();
    }

    public boolean isValid() {
      return this.criteria.size() > 0;
    }

    public List<ToiletPitExample.Criterion> getAllCriteria() {
      return this.criteria;
    }

    public List<ToiletPitExample.Criterion> getCriteria() {
      return this.criteria;
    }

    protected void addCriterion(String condition) {
      if (condition == null) {
        throw new RuntimeException("Value for condition cannot be null");
      }
      this.criteria.add(new ToiletPitExample.Criterion(condition));
    }

    protected void addCriterion(String condition, Object value, String property) {
      if (value == null) {
        throw new RuntimeException("Value for " + property + " cannot be null");
      }
      this.criteria.add(new ToiletPitExample.Criterion(condition, value));
    }

    protected void addCriterion(String condition, Object value1, Object value2, String property) {
      if ((value1 == null) || (value2 == null)) {
        throw new RuntimeException("Between values for " + property + " cannot be null");
      }
      this.criteria.add(new ToiletPitExample.Criterion(condition, value1, value2));
    }

    public ToiletPitExample.Criteria andIdIsNull() {
      addCriterion("id is null");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andIdIsNotNull() {
      addCriterion("id is not null");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andIdEqualTo(Integer value) {
      addCriterion("id =", value, "id");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andIdNotEqualTo(Integer value) {
      addCriterion("id <>", value, "id");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andIdGreaterThan(Integer value) {
      addCriterion("id >", value, "id");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andIdGreaterThanOrEqualTo(Integer value) {
      addCriterion("id >=", value, "id");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andIdLessThan(Integer value) {
      addCriterion("id <", value, "id");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andIdLessThanOrEqualTo(Integer value) {
      addCriterion("id <=", value, "id");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andIdIn(List<Integer> values) {
      addCriterion("id in", values, "id");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andIdNotIn(List<Integer> values) {
      addCriterion("id not in", values, "id");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andIdBetween(Integer value1, Integer value2) {
      addCriterion("id between", value1, value2, "id");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andIdNotBetween(Integer value1, Integer value2) {
      addCriterion("id not between", value1, value2, "id");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitnameIsNull() {
      addCriterion("pitName is null");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitnameIsNotNull() {
      addCriterion("pitName is not null");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitnameEqualTo(String value) {
      addCriterion("pitName =", value, "pitname");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitnameNotEqualTo(String value) {
      addCriterion("pitName <>", value, "pitname");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitnameGreaterThan(String value) {
      addCriterion("pitName >", value, "pitname");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitnameGreaterThanOrEqualTo(String value) {
      addCriterion("pitName >=", value, "pitname");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitnameLessThan(String value) {
      addCriterion("pitName <", value, "pitname");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitnameLessThanOrEqualTo(String value) {
      addCriterion("pitName <=", value, "pitname");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitnameLike(String value) {
      addCriterion("pitName like", value, "pitname");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitnameNotLike(String value) {
      addCriterion("pitName not like", value, "pitname");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitnameIn(List<String> values) {
      addCriterion("pitName in", values, "pitname");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitnameNotIn(List<String> values) {
      addCriterion("pitName not in", values, "pitname");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitnameBetween(String value1, String value2) {
      addCriterion("pitName between", value1, value2, "pitname");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitnameNotBetween(String value1, String value2) {
      addCriterion("pitName not between", value1, value2, "pitname");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitssatusIsNull() {
      addCriterion("pitsSatus is null");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitssatusIsNotNull() {
      addCriterion("pitsSatus is not null");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitssatusEqualTo(String value) {
      addCriterion("pitsSatus =", value, "pitssatus");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitssatusNotEqualTo(String value) {
      addCriterion("pitsSatus <>", value, "pitssatus");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitssatusGreaterThan(String value) {
      addCriterion("pitsSatus >", value, "pitssatus");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitssatusGreaterThanOrEqualTo(String value) {
      addCriterion("pitsSatus >=", value, "pitssatus");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitssatusLessThan(String value) {
      addCriterion("pitsSatus <", value, "pitssatus");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitssatusLessThanOrEqualTo(String value) {
      addCriterion("pitsSatus <=", value, "pitssatus");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitssatusLike(String value) {
      addCriterion("pitsSatus like", value, "pitssatus");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitssatusNotLike(String value) {
      addCriterion("pitsSatus not like", value, "pitssatus");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitssatusIn(List<String> values) {
      addCriterion("pitsSatus in", values, "pitssatus");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitssatusNotIn(List<String> values) {
      addCriterion("pitsSatus not in", values, "pitssatus");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitssatusBetween(String value1, String value2) {
      addCriterion("pitsSatus between", value1, value2, "pitssatus");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andPitssatusNotBetween(String value1, String value2) {
      addCriterion("pitsSatus not between", value1, value2, "pitssatus");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andSexIsNull() {
      addCriterion("sex is null");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andSexIsNotNull() {
      addCriterion("sex is not null");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andSexEqualTo(Integer value) {
      addCriterion("sex =", value, "sex");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andSexNotEqualTo(Integer value) {
      addCriterion("sex <>", value, "sex");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andSexGreaterThan(Integer value) {
      addCriterion("sex >", value, "sex");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andSexGreaterThanOrEqualTo(Integer value) {
      addCriterion("sex >=", value, "sex");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andSexLessThan(Integer value) {
      addCriterion("sex <", value, "sex");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andSexLessThanOrEqualTo(Integer value) {
      addCriterion("sex <=", value, "sex");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andSexIn(List<Integer> values) {
      addCriterion("sex in", values, "sex");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andSexNotIn(List<Integer> values) {
      addCriterion("sex not in", values, "sex");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andSexBetween(Integer value1, Integer value2) {
      addCriterion("sex between", value1, value2, "sex");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andSexNotBetween(Integer value1, Integer value2) {
      addCriterion("sex not between", value1, value2, "sex");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andLasttimeIsNull() {
      addCriterion("lastTime is null");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andLasttimeIsNotNull() {
      addCriterion("lastTime is not null");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andLasttimeEqualTo(Integer value) {
      addCriterion("lastTime =", value, "lasttime");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andLasttimeNotEqualTo(Integer value) {
      addCriterion("lastTime <>", value, "lasttime");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andLasttimeGreaterThan(Integer value) {
      addCriterion("lastTime >", value, "lasttime");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andLasttimeGreaterThanOrEqualTo(Integer value) {
      addCriterion("lastTime >=", value, "lasttime");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andLasttimeLessThan(Integer value) {
      addCriterion("lastTime <", value, "lasttime");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andLasttimeLessThanOrEqualTo(Integer value) {
      addCriterion("lastTime <=", value, "lasttime");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andLasttimeIn(List<Integer> values) {
      addCriterion("lastTime in", values, "lasttime");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andLasttimeNotIn(List<Integer> values) {
      addCriterion("lastTime not in", values, "lasttime");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andLasttimeBetween(Integer value1, Integer value2) {
      addCriterion("lastTime between", value1, value2, "lasttime");
      return (ToiletPitExample.Criteria)this;
    }

    public ToiletPitExample.Criteria andLasttimeNotBetween(Integer value1, Integer value2) {
      addCriterion("lastTime not between", value1, value2, "lasttime");
      return (ToiletPitExample.Criteria)this;
    }
  }
}

/* Location:           D:\msg\反编译\Webuilding-0.0.1-SNAPSHOT(5)\BOOT-INF\classes\
 * Qualified Name:     com.huarun.module.toilet.bean.ToiletPitExample
 * JD-Core Version:    0.6.2
 */